import sys

if __name__ == '__main__':
    size = int(sys.argv[1])
    a = b = c = 0.
    max = int(sys.argv[2])
    for a in range(size + 1):
        for b in range(size + 1 - a):
            res = a * (1 + b / 2.) * (1 + (size - a - b) / 20.)
            if res > max:
                max = res
                print "a:%d, b:%d, c:%d, max:%f" % (a, b, size-a-b, max)

    print max
